﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI;

namespace Medianamik.UI.Controls
{
    [ToolboxData("<{0}:EditLink runat=server></{0}:EditLink>")]
    public class EditLink : ImageLink
    {
        public override string ImageUrl
        {
            get
            {
                return "/Medianamik/images/Icones/Ico_Edition.gif";
            }
            set
            {
                throw new InvalidOperationException("Cannot set ImageUrl for this control");
            }
        }

        public override string DisabledImageUrl
        {
            get
            {
                return "/Medianamik/images/Icones/Ico_EditionInactif.gif";
            }
            set
            {
                throw new InvalidOperationException("Cannot set DisabledImageUrl for this control");
            }
        }
    }
}
